package com.jiang.sign.Dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;


@TableName("sign_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SignUser implements Serializable {

    private static final long serialVersionUID = -40356785423868312L;

    private  Long id;

    @TableField("user_name")
    private  String username;

    private String password;

    /**
     * 用户类型（0管理员，1普通用户）
     */
    @TableField("user_type")
    private Integer userType;

    @TableField("create_time")
    private String createTime;

    /**
     * 删除标志（0代表未删除，1代表已删除）
     */
    @TableLogic(value = "0", delval = "1")
    @TableField("del_flag")
    private Integer delFlag;

}
